package com.atguigu.meinian.mapper;

import com.atguigu.meinian.pojo.Member;
import org.apache.ibatis.annotations.Param;

/**
 * @author zbystart
 * @create 2021-06-24 10:49
 */
public interface MemberMapper {
    Member selectMemberInfoByPhone(@Param("telephone") String telephone);

    void insertMember(Member member);

    Integer selectMemberRegisterCountByMonth(String month);

    Integer selectMemberRegisterCount();

    Integer selectMemberRegisterCountByToDay(String toDay);

    Integer selectMemberRegisterCountByThisWeekNewMember(String firstDayOfMonday);
}
